package catalina.container;

import catalina.connection.Request;
import catalina.connection.Response;

public class StandardEngine extends ContainerBase {

    @Override
    public void initInternal() {
    }

    @Override
    public void startInternal() {

    }

    @Override
    public void stopInternal() {

    }

    @Override
    public void destroyInternal() {

    }

    @Override
    public void service(Request request, Response response) {
        Container host = findChild(request.getMapper().getHostName());
        if (host != null) {
            host.service(request, response);
        }
    }
}
